package com.yzx.lifeassistants.model.callback;

/**
 * @Description: 续借图书回调
 * @author: yzx
 * @time: 2016-3-10 下午8:50:24
 */
public interface IRenewBookCB {
	/**
	 * @Description: 续借成功
	 */
	public static final int RENEW_SUCCESS = 0;
	/**
	 * @Description: 因续借过一次而续借失败
	 */
	public static final int ALREADY_RENEW = 1;
	/**
	 * @Description: 因条形码出错而续借失败
	 */
	public static final int RENEW_FAILED = 2;

	/**
	 * 
	 * @Description: 续借成功
	 */
	void renewSuccess();

	/**
	 * 
	 * @Description: 续借失败
	 */
	void renewFailed(int code);

}
